package com.ol.edu.server.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author Roger
 * @date 2020/9/8 22:20
 * @description
 */
@Repository
public interface RoleMenuMapper {
    /*
        根据角色ID删除原来的菜单数据
     */
    void deleteMenuIdByRoleId(Integer roleId);
    //插入菜单数据
    void insert(@Param("roleId") Integer roleId, @Param("menuId") Integer menuId);

}
